using System;

namespace Sogeti.Guidelines.WCF.Hosting
{
    public static class TypeExtensions
    {
        public static T New<T>(this Type typeToInstantiate)
        {
            return Activator.CreateInstance<T>();
        }
    }
}